package com.ken.teacher.service;

import com.ken.common.pojo.*;
import com.ken.common.pojo.Class;
import com.ken.common.result.Result;
import com.ken.teacher.dto.*;
import com.ken.teacher.vo.attendanceVo;

import java.util.List;

public interface teacherService {
    Result<Class> createClass(createClassDto dto) throws Exception;
    Result<String> createQuestion(Question question);
    Result<String> create_homework(homeworkDto homework);
    Result<String> post_homework(post_homeworkDto dto);
    Result<String> add_question(add_questionDto dto);
    Result<String> create_paper(paper paper);
    Result<String> add_paperQuestion(add_paperQuestionDto questionDto);
    Result<String> post_exam(examDto examDto);
    void change_status(change_statusDto dto);
    void grade_assignments(grade_assignmentDto assignmentDto);
    String create_unit(unitDto dto);
    //String create_lesson(create_lessonDto dto);
    String create_course(create_courseDto dto) throws Exception;
    List<course> getCourseByTeacherId(String teacher_id);
    List<String> create_questions(List<Question> questions);
    void update_question(update_questionDto dto);
    void post_message(message message);
    attendanceVo post_attendance(attendanceDto dto) throws Exception;
    void create_lessons(lessons lessons);
    void update_lesson(lessons lesson);
    void update_unit(unit unit);
    void delete_lesson(String lesson_id);
    void delete_unit(String unit_id);
    String create_courseware(courseware courseware);
    void update_courseware(courseware courseware);
    List<courseware> getCourseware(String teacher_id,String courseware_id,String course_id);
    String post_resources(resources resources);
    List<resources> get_resources(String class_id,String resources_id);
}
